﻿using System;
using System.ComponentModel.DataAnnotations;
using System.Text;
using System.Collections.Generic;
using System.Data;
namespace RBS.Core.Model
{
    //数据字典
    public class SYS_DictInfo
    {

        /// <summary>
        /// 数据字典目录ID
        /// </summary>		
        private int _dictid;

        [Key]
        public int DictID
        {
            get { return _dictid; }
            set { _dictid = value; }
        }
        /// <summary>
        /// 目录名称
        /// </summary>		
        private string _dictname;
        public string DictName
        {
            get { return _dictname; }
            set { _dictname = value; }
        }
        /// <summary>
        /// 目录代码
        /// </summary>		
        private string _dictcode;
        public string DictCode
        {
            get { return _dictcode; }
            set { _dictcode = value; }
        }
        /// <summary>
        /// 数据类型
        /// </summary>		
        private int _dicttype;
        public int DictType
        {
            get { return _dicttype; }
            set { _dicttype = value; }
        }
        /// <summary>
        /// 父ID
        /// </summary>		
        private int _parentid;
        public int ParentID
        {
            get { return _parentid; }
            set { _parentid = value; }
        }
        /// <summary>
        /// 路径
        /// </summary>		
        private string _path;
        public string Path
        {
            get { return _path; }
            set { _path = value; }
        }
        /// <summary>
        /// 排序字段
        /// </summary>		
        private int _sequence;
        public int Sequence
        {
            get { return _sequence; }
            set { _sequence = value; }
        }
        /// <summary>
        /// 获取数据项的Sql
        /// </summary>		
        private string _sqlcmd;
        public string SQLCMD
        {
            get { return _sqlcmd; }
            set { _sqlcmd = value; }
        }
        /// <summary>
        /// 备注
        /// </summary>		
        private string _remark;
        public string Remark
        {
            get { return _remark; }
            set { _remark = value; }
        }
        /// <summary>
        /// 最后一次更新用户标识
        /// </summary>		
        private string _lastupdateusername;
        public string LastUpdateUserName
        {
            get { return _lastupdateusername; }
            set { _lastupdateusername = value; }
        }
        /// <summary>
        /// 最后一次更新用户姓名
        /// </summary>		
        private string _lastupdateuserfullname;
        public string LastUpdateUserFullName
        {
            get { return _lastupdateuserfullname; }
            set { _lastupdateuserfullname = value; }
        }
        /// <summary>
        /// 最后一次更新时间
        /// </summary>		
        private DateTime _lastupdatetime;
        public DateTime LastUpdateTime
        {
            get { return _lastupdatetime; }
            set { _lastupdatetime = value; }
        }
        /// <summary>
        /// CreateUserName
        /// </summary>		
        private string _createusername;
        public string CreateUserName
        {
            get { return _createusername; }
            set { _createusername = value; }
        }
        /// <summary>
        /// CreateUserFullName
        /// </summary>		
        private string _createuserfullname;
        public string CreateUserFullName
        {
            get { return _createuserfullname; }
            set { _createuserfullname = value; }
        }
        /// <summary>
        /// CreateDateTime
        /// </summary>		
        private DateTime _createdatetime;
        public DateTime CreateDateTime
        {
            get { return _createdatetime; }
            set { _createdatetime = value; }
        }
      /*  public List<SYS_DictInfo> DictChild { get; set; } */
    }
}

